package cn.edu.ctbu.dp01.controller;

import cn.edu.ctbu.dp01.entity.Teacher;
import cn.edu.ctbu.dp01.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/teacher")
public class teacherController {
    @Autowired
    private TeacherService TeacherService;

    @GetMapping("/list")
    public String getList() {


        return "teacher/list";
    }
}

